package com.shanghaionstar.carmanage;

import android.os.Bundle;

import com.onstar.cn.framework.annotation.ContentView;
import com.onstar.cn.framework.mvp.base.core.BaseActivity;
import com.onstar.cn.framework.mvp.base.core.BasePresenter;
import com.shanghaionstar.R;
import com.shanghaionstar.discover.OVDEmailFragment;
import com.shanghaionstar.swipe.SwipeActivity;

/**
 * Created by 6335yz on 2016/8/4.
 */
@ContentView(R.layout.fragment_container)
public class OvdMailActivity extends SwipeActivity {

    @Override
    public BasePresenter getPresenter() {
        return null;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        addFragment(getSupportFragmentManager(), new OVDEmailFragment(), true);
        showFragment(getSupportFragmentManager(), OVDEmailFragment.class, null);
    }

    @Override
    public void onBackPressed() {
        finish();
    }
}
